/*
 * ChatAck.h
 */

#ifndef CHATACK_H_
#define CHATACK_H_

#include "ariba/ariba.h"
#include <boost/property_tree/exceptions.hpp>
#include <boost/property_tree/detail/xml_parser_error.hpp>

using namespace std;

using_serialization;

class ChatAck: public ariba::Message
{
VSERIALIZEABLE;

public:
    /// Required for de-serialization
    ChatAck();
    ChatAck(uint32_t messageId);
    virtual ~ChatAck();

    uint32_t messageId;
    
    /// not serialized, for XML use only
    string chat_to;

    string getXml();
};

sznBeginDefault(ChatAck, X)
{
    X && messageId;
}
sznEnd()

#endif /* CHATACK_H_ */
